#!/bin/bash
if [ -d  /root/djangoProject ];then
 cd /root/djangoProject
 pip install -i  https://mirrors.aliyun.com/pypi/simple/ -r requirements.txt
 python3 manage.py migrate
 python3 manage.py runserver 0.0.0.0:8000
else:
 echo "failed"
fi
